Add FORCE-SAME-WINDOW argument to switch-to-buffer.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jul 2011 22:00:48 +0000 (18:00 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jul 2011 22:00:48 +0000 (18:00 -0400)
commitc855e6fdf6b544da843e5b1fd31cccd4042fe15a
tree84d3d16556ba55f948d27fd537cdbc0237145ad6
parentb01ebafba32444a9aa0148070124392d9f6ec06f
Add FORCE-SAME-WINDOW argument to switch-to-buffer.

* lisp/window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.  Use
pop-to-buffer buffer-or-name if it is nil.

* lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Remove switch-to-buffer.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/bytecomp.el
lisp/window.el